import { ApiProperty, OmitType } from '@nestjs/swagger';
import { UsersDto } from 'src/db/dto';
import { ResponseBodyAllDto, ResponseBodyPaginationDto } from 'src/dto';

export class ReturnWebsiteTypeDto extends OmitType(UsersDto, ['isDeleted']) {

}

export class ReturnUsersPaginationDto extends ResponseBodyPaginationDto {
  @ApiProperty({
    type: [UsersDto]
  })
  data: UsersDto[]
}

export class ReturnUsersAllDto extends ResponseBodyAllDto {
  @ApiProperty({
    type: [UsersDto]
  })
  data: UsersDto[]
}

